/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package org.heyma.app.entities;

import java.io.Serializable;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 *
 * @author John
 */
@Entity
@Table(schema = "directory", name = "roles")
public class SecurityRoleEntity implements Serializable {

    @Id
    private Long id;
    private String roleName;

    public SecurityRoleEntity() {
    }

    public SecurityRoleEntity(String roleName) {
        this.roleName = roleName;
    }
 
    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }
}
